package struts.ext.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.apache.struts.action.ActionForm;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Action {
	Class<? extends ActionForm> form() default ActionForm.class;
	String path() default "";
	String input() default "";
	String scope() default "request";
	String name() default "";	
	String type() default "";
	String parameter() default "method";
	boolean validate() default false;
	boolean cancellable() default false;
	Forward[] forwards() default {};
}
